<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Vietel PMS</title>
<link href="css/screen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<f:view>
	<div id="document-login">
	
	<div id="header">
	<div id="title">Vietel PMS Login System</div>
	</div>
	<div id="login-container">
	<div class="errors"><h:messages globalOnly="true" /></div>
	<h:form id="login">
		<div><h:outputLabel for="username">Login Name:</h:outputLabel> <h:inputText
			id="username" value="#{user.username}" />
		<div class="errors"><h:message for="username" /></div>
		</div>
		<div><h:outputLabel for="password">Password:</h:outputLabel> <h:inputSecret
			id="password" value="#{user.password}" /></div>
		
		<div class="buttonBox"><h:commandButton id="login"
			action="#{authenticator.authenticate}" value="Login" /></div>

	</h:form></div>

	<div id="footer-login">Registered by Vietel Corp. Copyright &reg; All
	right Reserved.</div>
	</div>
</f:view>
</body>
</html>
